package com.ytclub.auth.application.convent;

import com.ytclub.auth.application.dto.AuthRolePermissionDTO;
import com.ytclub.auth.domain.entity.AuthRolePermissionBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 权限DTO的转换器
 *
 * @author: HuangQi
 * @date: Created in 21:23 2023/12/14
 * @description: 权限DTO的转换
 */
@Mapper
public interface AuthRolePermissionDTOConverter {
    AuthRolePermissionDTOConverter INSTANCE = Mappers.getMapper(AuthRolePermissionDTOConverter.class);

    AuthRolePermissionBO convertDTOToBO(AuthRolePermissionDTO authrolePermissionDTO);


}
